package com.esd.crm.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.esd.crm.entity.Orders;
import com.esd.crm.entity.Product;

public interface ProductService {
	public int deleteByPrimaryKey(Integer id);

	public int insert(Product record);

	public int insertSelective(Product record);

	public Product selectByPrimaryKey(Integer id);

	public int updateByPrimaryKeySelective(Product record);

	public int updateByPrimaryKeyWithBLOBs(Product record);

	public int updateByPrimaryKey(Product record);

	public List<Product> selectByParam(Map<String, Object> param);

	public int selectByParamCount(Map<String, Object> param);

	public BigDecimal selectSumAmout(Integer id);

	public int deleteByCustomerId(Integer customerId);

	public int deleteByOrderId(String orderId);
}
